/**
 * @brief 定义输出标记. 在header中用NCSPPT_EXPORT来声明, 在cpp文件中 首先定义NCSPPT_LIBRARY即可.
 */


#define NCSPPT_EXPORT // if you use ncsppt by source, define NCSPPT_EXPORT to empty. 

//#include "ncsdbgstub.h" // for debugging only, and for windows only.

#ifndef NCSPPT_EXPORT


// disable VisualStudio warnings
#if defined(_MSC_VER) && defined(NCSPPT_DISABLE_MSVC_WARNINGS)
    #pragma warning( disable : 4244 )
    #pragma warning( disable : 4251 )
    #pragma warning( disable : 4275 )
    #pragma warning( disable : 4512 )
    #pragma warning( disable : 4267 )
    #pragma warning( disable : 4702 )
    #pragma warning( disable : 4511 )
#endif

// windows enviroment
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__)  || defined( __MWERKS__)
    #  if defined( NCSPPT_LIBRARY_STATIC )
    #    define NCSPPT_EXPORT
    #  elif defined( NCSPPT_LIBRARY )
    #    define NCSPPT_EXPORT   __declspec(dllexport)
    #  else
    #    define NCSPPT_EXPORT   __declspec(dllimport)
    #  endif
#else
    #  define NCSPPT_EXPORT
#endif

#endif


